package com.dong.springboot.web;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * @author yangjian19
 */
//@ImportResource({"classpath:some-context.xml", "classpath:another-context.xml"})
//@PropertySource({"classpath:some-context.properties", "classpath:another-context.properties"})
@SpringBootApplication
public class DongSpringbootWebApplication {

    public static void main(String[] args) {
//        SpringApplication.run(DongSpringbootWebApplication.class, args);

        new SpringApplicationBuilder(DongSpringbootWebApplication.class)
                // 不显示banner
                .bannerMode(Banner.Mode.OFF)
                .run(args);
    }
}
